package com.sdhs.file.domain;

import com.sdhs.common.annotation.Excel;
import com.sdhs.common.core.domain.BaseEntity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 对象 sys_file
 *
 * @author ruoyi
 * @date 2023-08-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class SysFileEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 文件夹
     */
    @Excel(name = "文件夹")
    private String fileFolder;

    /**
     * 文件名称带路径
     */
    @Excel(name = "文件名称带路径")
    private String fileNameFull;

    /**
     * 文件名称
     */
    @Excel(name = "文件名称")
    private String fileName;

    /**
     * 文件标题
     */
    @Excel(name = "文件标题")
    private String fileTitle;

    /**
     * 文件类型,就是扩展名
     */
    @Excel(name = "文件类型,就是扩展名")
    private String fileType;

    /**
     * 用户id
     */
    @Excel(name = "用户id")
    private Long userId;

    /**
     * 用户名
     */
    @Excel(name = "用户名")
    private String userName;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Integer sort;

    /**
     * 路径
     */
    @Excel(name = "路径")
    private String url;

    /**
     * md5
     */
    @Excel(name = "md5")
    private String md5;
    
    @Excel(name = "文件大小（字节）")
    private Long fileSize;
    
    /**
     * 创建者姓名
     */
    @Excel(name = "创建者姓名")
    private String createNickName;
    
    /**
     * 版本号
     */
    @Excel(name = "版本号")
    private Integer version;

    /**
     * fileKey
     */
    @Excel(name = "fileKey")
    private String fileKey;

}
